/*    */ package com.umeng.update;
/*    */ 
/*    */ import android.content.Context;
/*    */ import com.umeng.common.Log;
/*    */ import com.umeng.common.net.s;
/*    */ import com.umeng.common.util.DeltaUpdate;
/*    */ 
/*    */ public class d extends s
/*    */ {
/*    */   Context a;
/* 12 */   private final String[] b = { 
/* 13 */     "http://au.umeng.com/api/check_app_update", 
/* 14 */     "http://au.umeng.co/api/check_app_update" };
/*    */ 
/* 17 */   private static final String c = d.class.getName();
/*    */ 
/*    */   public d(Context paramContext) {
/* 20 */     this.a = paramContext;
/*    */   }
/*    */ 
/*    */   public boolean shouldCompressData() {
/* 24 */     return false;
/*    */   }
/*    */ 
/*    */   public UpdateResponse a() {
/* 28 */     Log.c(c, String.format("is delta request: %b", new Object[] { Boolean.valueOf(DeltaUpdate.a()) }));
/*    */ 
/* 30 */     i locali = new i(this.a);
/*    */ 
/* 32 */     UpdateResponse localUpdateResponse = null;
/* 33 */     for (int i = 0; i < this.b.length; i++) {
/* 34 */       locali.a(this.b[i]);
/* 35 */       localUpdateResponse = (UpdateResponse)execute(locali, UpdateResponse.class);
/* 36 */       if (localUpdateResponse != null)
/*    */       {
/*    */         break;
/*    */       }
/*    */     }
/* 41 */     return localUpdateResponse;
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.update.d
 * JD-Core Version:    0.6.2
 */